package biz.impl;

import java.util.List;
import java.util.Map;

import biz.BoardBiz;
import entity.Board;
import dao.BoardDao;
import dao.impl.BoardDaoImpl;

public class BoardBizImpl implements BoardBiz {
	
	private BoardDao boardDao = new BoardDaoImpl();
	
	public Map<Integer, List<Board>> findBoard() {
		return boardDao.findBoard();
	}

	public Board findBoard(int boardId) throws Exception {
		return boardDao.findBoard(boardId);
	}
}
